<?php

namespace App\Http\Controllers;

use App\Models\FormIds;
/**
 * 消息推送
 * Class CateController
 * @package App\Http\Controllers
 */
class FormController extends Controller{


    public function index(){
        $form_id = (string)request('form_id');
        if($form_id && ($form_id !='the formId is a mock one')){
            //统计formid
            FormIds::add($form_id);
            return $this->returnJson(0);
        }
        return $this->returnJson(1,'数据非法');
    }



}
